#ifndef _SSD_DEFINE_H
#define _SSD_DEFINE_H

typedef enum
{
	T_IDLE			= 200,
	T_COMMAND		= 201,
	T_COL_ADDR0		= 202,
	T_COL_ADDR1		= 203,
	T_ROW_ADDR0		= 204,
	T_ROW_ADDR1		= 205,
	T_WR_DATA		= 206,
	T_RD_DATA		= 207,
	T_ERASE_DATA	= 208,
	T_CONFIRM		= 209,
	T_READ_STATUS	= 210,
	IO_CHECK		= 211
} FLASH_state_t;

const unsigned CRC_BUFFER		= 4096/4;
const unsigned CACHE_BUFFER		= 4096*32;	// 128KB

#endif
